# QvxReply XML schema

```
<?xml version="1.0" encoding="UTF-8"?>
```

```
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
```

```
  <xs:simpleType name="QvxResult">
```

&lt;xs:restriction base="xs:string"&gt;

&lt;xs:enumeration value="QVX\_OK"/&gt;

&lt;xs:enumeration value="QVX\_UNKNOWN\_COMMAND"/&gt;

&lt;xs:enumeration value="QVX\_UNSUPPORTED\_COMMAND"/&gt;

&lt;xs:enumeration value="QVX\_UNEXPECTED\_COMMAND"/&gt;

&lt;xs:enumeration value="QVX\_SYNTAX\_ERROR"/&gt;

&lt;xs:enumeration value="QVX\_CONNECT\_ERROR"/&gt;

&lt;xs:enumeration value="QVX\_TABLE\_NOT\_FOUND"/&gt;

&lt;xs:enumeration value="QVX\_FIELD\_NOT\_FOUND"/&gt;

&lt;xs:enumeration value="QVX\_PIPE\_ERROR"/&gt;

&lt;xs:enumeration value="QVX\_UNEXPECTED\_END\_OF\_DATA"/&gt;

&lt;xs:enumeration value="QVX\_UNKNOWN\_ERROR"/&gt;

&lt;xs:enumeration value="QVX\_CANCEL "/&gt;

&lt;xs:enumeration value="QVX\_CONNECTION\_BROKEN "/&gt;

&lt;/xs:restriction&gt;

&lt;/xs:simpleType&gt;

&lt;xs:element name="QvxReply"&gt;

&lt;xs:complexType&gt;

&lt;xs:all&gt;

&lt;xs:element name="Result" type="QvxResult" /&gt;

&lt;xs:element name="OutputValues"&gt;

&lt;xs:complexType&gt;

&lt;xs:sequence&gt;

&lt;xs:element name="String" type="xs:string" minOccurs="0" maxOccurs="unbounded"/&gt;

&lt;/xs:sequence&gt;

&lt;/xs:complexType&gt;

&lt;/xs:element&gt;

&lt;xs:element name="ErrorMessage" type="xs:string" /&gt;

&lt;/xs:all&gt;

&lt;/xs:complexType&gt;

&lt;/xs:element&gt;

&lt;/xs:schema&gt;

## QvxReply Element

Reply elements

| Child element | Description |
| --- | --- |
| Result | Error message type.<br><br>[QvxResult](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QVXSDKAPI/Content/QV_QVXSDKAPI/QlikView%20QVX%20File%20Format/QvxReply-XML-schema.htm#QvxResult_). |
| OutputValues | String array of result values.<br><br>[QvxCommand Type](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QVXSDKAPI/Content/QV_QVXSDKAPI/QlikView%20QVX%20File%20Format/QvxRequest-XML-schema.htm#QvxCommand) |
| ErrorMessage | Error explanation when Result &lt;&gt; QVX\_OK. |

## QvxResult Type

Result type values

| Type value | Description |
| --- | --- |
| QVX\_OK | Command executed successfully. |
| QVX\_UNKNOWN\_COMMAND | Command is not recognized. |
| QVX\_UNSUPPORTED\_COMMAND | Command is recognized but not implemented. |
| QVX\_UNEXPECTED\_COMMAND | Execution of the command requested not in the right circumstances. |
| QVX\_CONNECT\_ERROR | Data source connection is not established or is lost. |
| QVX\_SYNTAX\_ERROR | SQL statement contains a syntax error. |
| QVX\_TABLE\_NOT\_FOUND | Table specified in SQL statement is not found. |
| QVX\_FIELD\_NOT\_FOUND | Field specified in SQL statement is not found. |
| QVX\_PIPE\_ERROR | Failed to write data to data pipe. |
| QVX\_UNEXPECTED\_END\_OF\_DATA | Failed to fetch data from data source. |
| QVX\_UNKNOWN\_ERROR | Other error occurred. |
| QVX\_CANCEL | Command execution canceled by the user. |
| QVX\_CONNECTION\_BROKEN | Connection to the database has been lost. Only QVConnect in ODBC mode returns this value |